import request from "@/utils/request";

//新增接口
export const addProdEquipmentPointPositionInfo = (data) => {
  return request({
    url: "base/prodEquipmentPointPosition/add",
    method: "post",
    data,
  });
};
//编辑接口
export const updateProdEquipmentPointPositionInfo = (data) => {
  return request({
    url: "base/prodEquipmentPointPosition/edit",
    method: "post",
    data,
  });
};
//查询接口
export const queryProdEquipmentPointPositionInfoList = (params) => {
  return request({
    url: "base/prodEquipmentPointPosition/list",
    method: "get",
    params,
  });
};
//删除接口
export const deleteProdEquipmentPointPositionInfo = (params) => {
  return request({
    url: "base/prodEquipmentPointPosition/deleteBatch",
    method: "post",
    params,
  });
};
//数据回显接口
export const getProdEquipmentPointPositionData = (param) => {
  return request({
    url: `base/prodEquipmentPointPosition/queryById?id=${param}`,
    method: "post"
  });
};
